<template>
  <div style=" width: 96%; margin: auto;">
    <h2>内部管理情况</h2>
    <h3 style="margin-top: 20px;">本年度登记、备案事项变更情况</h3>
    <el-form :model="yearlyRegister" ref="yearlyRegisterForm">
      <el-row>
        <el-col :span="24">
          <el-table
            :header-cell-style="{background: '#F0F5FA',color: '#333333'}"
            size="default"
            :data="yearlyRegister"
            border>
            <el-table-column prop="filingMatter" label="变更事项" align="center">
              <template #default="scope">
                <!--                <el-form-item :prop="'[' + scope.$index + '].filingMatter'" :rules="yearlyRegisterRules.filingMatter">-->
                <el-input disabled v-model="scope.row.filingMatter" placeholder="请输入"></el-input>
                <!--                </el-form-item>-->
              </template>
            </el-table-column>
            <el-table-column prop="filingType" label="是否变更" align="center">
              <template #default="scope">
                <el-form-item :prop="'[' + scope.$index + '].filingType'" :rules="yearlyRegisterRules.filingType">
                  <el-select clearable @change="filingTypeChange(scope.$index,scope.row.filingType)" v-model="scope.row.filingType" placeholder="请选择" style="width: 100%;">
                    <el-option
                      v-for="dict in shiOptions"
                      :key="dict.id"
                      :label="dict.name"
                      :value="dict.id"
                    />
                  </el-select>
                </el-form-item>
              </template>
            </el-table-column>
            <el-table-column prop="handleSituation" label="办理情况" align="center">
              <template #default="scope">
                <el-form-item :prop="'[' + scope.$index + '].handleSituation'"
                              :rules="yearlyRegisterRules.handleSituation">
                  <el-select clearable  v-model="scope.row.handleSituation" placeholder="请选择" style="width: 100%;">
                    <el-option
                      v-for="dict in handleOptions"
                      :key="dict.id"
                      :label="dict.name"
                      :value="dict.id"
                    />
                  </el-select>
                </el-form-item>
              </template>
            </el-table-column>
            <el-table-column prop="capproveTime" label="批准时间" align="center">
              <template #default="scope">
                <el-form-item :prop="'[' + scope.$index + '].capproveTime'" :rules="yearlyRegisterRules.capproveTime">
                  <el-date-picker
                    style="width: 100%;"
                    value-format="YYYY-MM-DD"
                    v-model="scope.row.capproveTime"
                    type="date"
                    placeholder="批准时间">
                  </el-date-picker>
                </el-form-item>
              </template>
            </el-table-column>
          </el-table>
        </el-col>
      </el-row>
    </el-form>
    <div style="margin-top: 50px;"></div>
    <h3> 本年度会议及换届情况</h3>
    <el-form :model="yearlyMeeting" ref="yearlyMeetingForm" :rules="yearlyMeetingRules" label-width="190px">
      <el-row style="margin-top: 15px;" :gutter="20">
        <el-col :span="12" style="margin-bottom: 15px;">
          <el-form-item prop="directorMeetingInterval" label="理（董）事会届期（年）">
            <el-input type="number" placeholder="请输入" v-model="yearlyMeeting.directorMeetingInterval">
            </el-input>
          </el-form-item>
        </el-col>
        <el-col :span="8" style="margin-bottom: 15px;">
          <el-form-item prop="executiveDirectorMeetingInterval" label="理（董）事会）">
            <el-input type="number" placeholder="请输入" v-model="yearlyMeeting.executiveDirectorMeetingInterval">
            </el-input>
          </el-form-item>
        </el-col>
        <el-col :span="1" style="text-align: center;padding-top: 6px;margin-bottom: 15px;">年</el-col>
        <el-col :span="2" style="margin-bottom: 15px;">
          <el-form-item prop="executiveDirectorMeetingOrder" label-width="0px">
            <el-input type="number" placeholder="请输入" v-model="yearlyMeeting.executiveDirectorMeetingOrder">
            </el-input>
          </el-form-item>
        </el-col>
        <el-col :span="1" style="text-align: center;padding-top: 6px;margin-bottom: 15px;">次</el-col>
        <el-col :span="12" style="margin-bottom: 15px;">
          <el-form-item prop="yearlyDirectorMeetingCount" label="本年度召开理（董）事会次数">
            <el-input type="number" placeholder="请输入" v-model="yearlyMeeting.yearlyDirectorMeetingCount">
            </el-input>
          </el-form-item>
        </el-col>
        <el-col :span="12" style="margin-bottom: 15px;">
          <el-form-item prop="recentlyChangeTenureTime" label="上一次换届理（董）事会召开时间">
            <el-date-picker
              style="width: 100%;"
              v-model="yearlyMeeting.recentlyChangeTenureTime"
              type="date"
              value-format="YYYY-MM-DD"
              placeholder="选择日期">
            </el-date-picker>
          </el-form-item>
        </el-col>
        <el-col :span="12" style="margin-bottom: 15px;">
          <el-form-item prop="supervisorAttendance" label="监事（会）是否列席理（董）事会">
            <el-radio-group v-model="yearlyMeeting.supervisorAttendance">
              <el-radio label="1">是</el-radio>
              <el-radio label="2">否</el-radio>
            </el-radio-group>
          </el-form-item>
        </el-col>
        <el-col :span="12" style="margin-bottom: 15px;">
          <el-form-item prop="failureDirectorMeeting" label="未按期召开原因或者未按期换届说明">
            <el-input size="default" placeholder="请输入" v-model="yearlyMeeting.failureDirectorMeeting" />
          </el-form-item>
        </el-col>
      </el-row>

    </el-form>
    <div style="margin-top: 50px;"></div>
    <h3>内部制度建设情况 </h3>
    <el-form :model="regulatory" ref="regulatoryForm" :rules="regulatoryRules" label-width="190px">
      <el-row style="margin-top: 15px;" :gutter="20">
        <el-col :span="12" style="margin-bottom: 15px;">
          <el-form-item prop="legalCertificateRegime" label="证书保管、使用管理制度">
            <el-select clearable  v-model="regulatory.legalCertificateRegime" placeholder="请选择" style="width: 100%;">
              <el-option
                v-for="dict in yWOptions"
                :key="dict.id"
                :label="dict.name"
                :value="dict.id"
              />
            </el-select>
          </el-form-item>
        </el-col>
        <el-col :span="12" style="margin-bottom: 15px;">
          <el-form-item prop="legalCertificateRegimeDeposit" label="证书保管在">
            <el-input placeholder="请输入" v-model="regulatory.legalCertificateRegimeDeposit" />
          </el-form-item>
        </el-col>
        <el-col :span="12" style="margin-bottom: 15px;">
          <el-form-item prop="sealRegime" label="印章保管、使用管理制度">
            <el-select clearable  v-model="regulatory.sealRegime" placeholder="请选择" style="width: 100%;">
              <el-option
                v-for="dict in yWOptions"
                :key="dict.id"
                :label="dict.name"
                :value="dict.id"
              />
            </el-select>
          </el-form-item>
        </el-col>
        <el-col :span="12" style="margin-bottom: 15px;">
          <el-form-item prop="sealRegimeDeposit" label="印章保管在">
            <el-input placeholder="请输入" v-model="regulatory.sealRegimeDeposit" />
          </el-form-item>
        </el-col>
        <el-col :span="12" style="margin-bottom: 15px;">
          <el-form-item prop="archivesRegime" label="档案管理制度">
            <el-select clearable  v-model="regulatory.archivesRegime" placeholder="请选择" style="width: 100%;">
              <el-option
                v-for="dict in yWOptions"
                :key="dict.id"
                :label="dict.name"
                :value="dict.id"
              />
            </el-select>
          </el-form-item>
        </el-col>
        <el-col :span="12" style="margin-bottom: 15px;">
          <el-form-item prop="archivesRegimeDeposit" label="档案保管在">
            <el-input placeholder="请输入" v-model="regulatory.archivesRegimeDeposit" />
          </el-form-item>
        </el-col>
        <el-col :span="12" style="margin-bottom: 15px;">
          <el-form-item prop="openingBank" label="人民币开户银行">
            <el-input placeholder="请输入" v-model="regulatory.openingBank" />
          </el-form-item>
        </el-col>
        <el-col :span="12" style="margin-bottom: 15px;">
          <el-form-item prop="accountNum" label="人民币银行账号">
            <el-input placeholder="请输入" v-model="regulatory.accountNum" />
          </el-form-item>
        </el-col>
        <el-col :span="12" style="margin-bottom: 15px;">
          <el-form-item prop="openingBankFc" label="外币开户银行">
            <el-input placeholder="请输入" v-model="regulatory.openingBankFc" />
          </el-form-item>
        </el-col>
        <el-col :span="12" style="margin-bottom: 15px;">
          <el-form-item prop="accountNumFc" label="外币银行账号">
            <el-input placeholder="请输入" v-model="regulatory.accountNumFc" />
          </el-form-item>
        </el-col>
        <el-col :span="12" style="margin-bottom: 15px;">
          <el-form-item prop="financialRegistration" label="财政登记">
            <el-select clearable  v-model="regulatory.financialRegistration" placeholder="请选择" style="width: 100%;">
              <el-option
                v-for="dict in shiOptions"
                :key="dict.id"
                :label="dict.name"
                :value="dict.id"
              />
            </el-select>
          </el-form-item>
        </el-col>
        <el-col :span="12" style="margin-bottom: 15px;">
          <el-form-item prop="taxRegistration" label="税务登记">
            <el-radio-group v-model="regulatory.taxRegistration">
              <el-radio label="1">已登记</el-radio>
              <el-radio label="2">未登记</el-radio>
            </el-radio-group>
          </el-form-item>
        </el-col>
        <el-col :span="12" style="margin-bottom: 15px;">
          <el-form-item prop="financeRegime" label="财务管理制度">
            <el-select clearable  v-model="regulatory.financeRegime" placeholder="请选择" style="width: 100%;">
              <el-option
                v-for="dict in yWOptions"
                :key="dict.id"
                :label="dict.name"
                :value="dict.id"
              />
            </el-select>
          </el-form-item>
        </el-col>
        <el-col :span="12" style="margin-bottom: 15px;">
          <el-form-item prop="fixedAssetsRegime" label="固定资产管理制度">
            <el-select clearable  v-model="regulatory.fixedAssetsRegime" placeholder="请选择" style="width: 100%;">
              <el-option
                v-for="dict in yWOptions"
                :key="dict.id"
                :label="dict.name"
                :value="dict.id"
              />
            </el-select>
          </el-form-item>
        </el-col>
        <el-col :span="12" style="margin-bottom: 15px;">
          <el-form-item prop="implementAccountingRegime" label="执行会计制度">
            <el-select clearable  v-model="regulatory.implementAccountingRegime" placeholder="请选择" style="width: 100%;">
              <el-option
                v-for="dict in accountingOptions"
                :key="dict.id"
                :label="dict.name"
                :value="dict.id"
              />
            </el-select>
          </el-form-item>
        </el-col>
        <el-col :span="12" style="margin-bottom: 15px;">
          <el-form-item prop="fullTimeAccountingCount" label="专职财会人员数">
            <el-input type="number" placeholder="请输入" v-model="regulatory.fullTimeAccountingCount" />
          </el-form-item>
        </el-col>
        <el-col :span="12" style="margin-bottom: 15px;">
          <el-form-item prop="fullTimeAccountingQualificationCount" label="具有会计执业资格人数">
            <el-input type="number" placeholder="请输入" v-model="regulatory.fullTimeAccountingQualificationCount" />
          </el-form-item>
        </el-col>
        <el-col :span="12" style="margin-bottom: 15px;">
          <el-form-item prop="billType" label="使用票据种类">
            <el-select clearable  v-model="regulatory.billType" placeholder="请选择" style="width: 100%;">
              <el-option
                v-for="dict in billTypeOptions"
                :key="dict.id"
                :label="dict.name"
                :value="dict.id"
              />
            </el-select>
          </el-form-item>
        </el-col>
      </el-row>
    </el-form>
  </div>
</template>
<script>

import {
  getDictByCode,
  getTableInfoByPage,
  mfSaveMeeting,
  mfSaveRegulatory,
  mfSaveYearly
} from '@/views/yearCheck/ykb/mf/mf'

export default {
  data() {
    return {
      shiOptions: [{ id: 1, name: '是' }, { id: 2, name: '否' }],
      yWOptions: [{ id: 1, name: '有' }, { id: 2, name: '无' }],
      manageOptions: [{ id: '1', name: '管理制度1' }, { id: '2', name: '管理制度2' }],
      yearlyRegister: [],
      yearlyMeeting: {
        id: '',
        examineYear: localStorage.getItem('examineYear'),//审查年度
        creditCode: localStorage.getItem('creditCode'),//统一社会信用代码
        directorMeetingInterval: '',//理事会（）年一届
        yearlyDirectorMeetingCount: '',//年度理事会次数
        executiveDirectorMeetingInterval: '',//理事会（）年
        executiveDirectorMeetingOrder: '',//常务理事会（）次
        failureDirectorMeeting: '',//未如期召开理事会的原因
        organizationBaseId: '1',//社团组织id
        recentlyChangeTenureTime: '',//($date-time)上一次一次召开换届时间
        supervisorAttendance: '',//监事(会)是否列席理(董)事会
        yearlyExecutiveDirectorMeetingCount: ''//年度监事会次数
      },
      yearlyRegisterRules: {
        // filingMatter: [{ required: true, message: '请完善', trigger: 'blur' }],
        // filingType: [{ required: true, message: '请选择', trigger: 'blur' }],
        // handleSituation: [{ required: true, message: '请选择', trigger: 'blur' }],
        // capproveTime: [{ required: true, message: '请选择', trigger: 'blur' }]
      },
      regulatory: {
        id: '',
        accountName: '',//开户名称
        accountNameFc: '',//外币开户名称
        accountNum: '',//开户账号
        accountNumFc: '',//外币开户账号
        openingBank: '',//开户行
        openingBankFc: '',//外币开户行
        administrativeInstitutionalAuthority: '',//行政事业性收费票据发放机关
        archivesRegime: '',//是否有档案管理制度1-是 2-否 0-未知
        archivesRegimeDeposit: '',//有档案管理制度保存处
        billType: '',//票据种类
        businessTrainingRegime: '',//是否有业务培训制度1-是 2-否 0-未知
        checkRegime: '',//是否有考核制度1-是 2-否 0-未知
        creditCode: localStorage.getItem('creditCode'),//统一社会信用代码
        donationReceiptsIssuingAuthority: '',//捐赠票据发放机关
        examineYear: localStorage.getItem('examineYear'),//备案年度
        financeIndependent: '',//财务核算是否独立1-是 2-否 0-未知
        financeRegime: '',//是否有财务管理制度1-是 2-否 0-未知
        financialRegistration: '',//财政登记
        fixedAssetsRegime: '',//是否有固定资产管理制度1-是 2-否 0-未知
        fullTimeAccountingCount: '',//专职财会人数
        fullTimeAccountingQualificationCount: '',//财会从业资格人数
        implementAccountingRegime: '',//执行会计制度
        legalCertificateRegime: '',//是否有证书保管、使用制度1-是 2-否 0-未知
        legalCertificateRegimeDeposit: '',//证书保管、使用制度保存处
        membershipFeeReceiptsIssuingAuthority: '',//会费票据发放机关

        organizationBaseId: '1',//社团组织id
        otherReceiptsAuthority: '',//其它票据发放机关
        personnelRegime: '',//是否有人事管理制度1-是 2-否 0-未知
        rewardPunishmentRegime: '',//是否有奖惩制度1-是 2-否 0-未知
        salaryRegime: '',//是否有薪酬管理制度1-是 2-否 0-未知
        sealRegime: '',//是否有印章保管、使用制度1-是 2-否 0-未知
        sealRegimeDeposit: '',//印章保管、使用制度保存处
        taxRegistration: '',//税务登记
        taxationReceiptsIssuingAuthority: ''//税务票据发放机关
      },
      regulatoryRules: {
        accountName: [{ required: true, message: '请完善', trigger: 'blur' }],
        accountNameFc: [{ required: true, message: '请完善', trigger: 'blur' }],
        accountNum: [{ required: true, message: '请完善', trigger: 'blur' }],
        archivesRegime: [{ required: true, message: '请选择', trigger: 'blur' }],
        archivesRegimeDeposit: [{ required: true, message: '请完善', trigger: 'blur' }],
        billType: [{ required: true, message: '请选择', trigger: 'blur' }],
        businessTrainingRegime: [{ required: true, message: '请选择', trigger: 'blur' }],
        checkRegime: [{ required: true, message: '请选择', trigger: 'blur' }],
        financeRegime: [{ required: true, message: '请选择', trigger: 'blur' }],
        financialRegistration: [{ required: true, message: '请选择', trigger: 'blur' }],
        fixedAssetsRegime: [{ required: true, message: '请选择', trigger: 'blur' }],
        fullTimeAccountingCount: [{ required: true, message: '请完善', trigger: 'blur' }],
        fullTimeAccountingQualificationCount: [{ required: true, message: '请完善', trigger: 'blur' }],
        implementAccountingRegime: [{ required: true, message: '请选择', trigger: 'blur' }],
        legalCertificateRegime: [{ required: true, message: '请选择', trigger: 'blur' }],
        legalCertificateRegimeDeposit: [{ required: true, message: '请完善', trigger: 'blur' }],
        openingBank: [{ required: true, message: '请完善', trigger: 'blur' }],
        sealRegime: [{ required: true, message: '请选择', trigger: 'blur' }],
        sealRegimeDeposit: [{ required: true, message: '请完善', trigger: 'blur' }],
        taxRegistration: [{ required: true, message: '请选择', trigger: 'blur' }]
      },
      yearlyMeetingRules: {
        directorMeetingInterval: [{ required: true, message: '请完善', trigger: 'blur' }],
        yearlyDirectorMeetingCount: [{ required: true, message: '请完善', trigger: 'blur' }],
        executiveDirectorMeetingInterval: [{ required: true, message: '请完善', trigger: 'blur' }],
        executiveDirectorMeetingOrder: [{ required: true, message: '请完善', trigger: 'blur' }],
        failureDirectorMeeting: [{ required: true, message: '请完善', trigger: 'blur' }],
        recentlyChangeTenureTime: [{ required: true, message: '请选择', trigger: 'blur' }],
        supervisorAttendance: [{ required: true, message: '请选择', trigger: 'blur' }],
        yearlyExecutiveDirectorMeetingCount: [{ required: true, message: '请完善', trigger: 'blur' }]
      },
      handleOptions: undefined,
      accountingOptions: undefined,
      billTypeOptions: undefined
    }
  },
  created() {

  },
  methods: {
    filingTypeChange(index,value){
      console.log(index,value)
      if(value == 2){
        this.yearlyRegister[index].handleSituation = "355";
      }
    },
    postInfo() {
      for (let i = 0; i < this.yearlyRegister.length; i++) {
        this.yearlyRegister[i].creditCode = localStorage.getItem('creditCode')
        this.yearlyRegister[i].examineYear = localStorage.getItem('examineYear')
      }
      this.$refs.yearlyRegisterForm.validate(valid => {
        if (valid) {
          if (this.yearlyRegister == null || this.yearlyRegister.length == 0) {
            return
          }
          mfSaveYearly(this.yearlyRegister).then(response => {
            this.$message({
              message: '年度登记、备案事项变更保存成功',
              type: 'success'
            })
            this.getInfo()
          })
        } else {
          this.$message({
            message: '年度登记，备案变更还未填写完整',
            type: 'error'
          })
        }
      })
      this.yearlyMeeting.creditCode = localStorage.getItem('creditCode')
      this.yearlyMeeting.examineYear = localStorage.getItem('examineYear')
      this.yearlyMeeting.organizationBaseId = '1'
      this.$refs.yearlyMeetingForm.validate(valid => {
        if (valid) {
          mfSaveMeeting(this.yearlyMeeting).then(response => {
            this.$message({
              message: '年度会议及换届情况保存成功',
              type: 'success'
            })
            this.getInfo()
          })
        } else {
          this.$message({
            message: '请填写完整',
            type: 'error'
          })
        }
      })

      this.regulatory.creditCode = localStorage.getItem('creditCode')
      this.regulatory.examineYear = localStorage.getItem('examineYear')
      this.regulatory.organizationBaseId = '1'
      this.$refs.regulatoryForm.validate(valid => {
        if (valid) {
          mfSaveRegulatory(this.regulatory).then(response => {
            this.$message({
              message: '内部制度建设情况保存成功',
              type: 'success'
            })
            this.getInfo()
          })
        } else {
          this.$message({
            message: '请填写完整',
            type: 'error'
          })
        }
      })
    },
    getInfo() {
      this.getDict()
      getTableInfoByPage(6).then(response => {
        console.log(response.data)
        this.yearlyRegister = response.data.yearlyRegister
        if (this.yearlyRegister == null) {
          this.yearlyRegister = []
        }
        this.yearlyMeeting = response.data.yearlyMeeting
        this.regulatory = response.data.regulatory
        if(this.regulatory.financialRegistration != ''){
          this.regulatory.financialRegistration = Number(this.regulatory.financialRegistration)
        }
        for (let i = 0; i < this.yearlyRegister.length; i++) {
            if(this.yearlyRegister[i].filingType == null){
              this.yearlyRegister[i].filingType = 2;
              this.yearlyRegister[i].handleSituation = '355';
            }
        }
      })
    },
    hasEmptyValue(obj) {
      for (let key in obj) {
        if (obj.hasOwnProperty(key)) {
          if (obj[key] === null || obj[key] === undefined || obj[key] === '' || isNaN(obj[key])) {
            return true
          }
        }
      }
      return false
    },
    getDict() {
      getDictByCode('handle').then(response => {
        this.handleOptions = response.data
      })
      getDictByCode('accounting').then(response => {
        this.accountingOptions = response.data
      })
      getDictByCode('billType').then(response => {
        this.billTypeOptions = response.data
      })
    }
  }
}
</script>
<style scoped lang="scss">
.el-table {
  --el-table-row-hover-bg-color: rgba(39, 137, 238, 0.1);
  --el-table-border-color:#e0e5f0;
}
:deep(.el-card.is-always-shadow) {
  box-shadow: 0 1px 14px 0 rgba(209, 224, 239, 0.6)
}

/* 拉框选中 */
.el-select-dropdown__item {
  height: 24px;
  line-height: 24px;
  font-size: 12px;
}

/* 鼠标经过下拉框 */
.el-select-dropdown__item:hover {
  height: 24px;
  line-height: 24px;
  font-size: 12px;
}

.el-select-dropdown__item.selected {
  color: #2789EE;
}
.app-container {
  margin-top: 40px;
  margin-left: 15%;
  width: 70%;
}

.div-bg {
  width: 100%;
  background: #F0F0F0;
  height: 10px;
}

.box-card {
  width: 100%;
  margin-top: 20px;
  padding: 20px;
}

.el-col {
  padding-left: 5px;
}

.divider-title {
  font-weight: bold;
  font-size: 18px;
}

.custom-select .el-select-dropdown {
  max-height: 600px; /* 设置为你想要的高度 */
  overflow: auto; /* 添加滚动条 */
}

table {
  border-collapse: collapse; /* 确保表格的边框合并为单一边框 */
  width: 100%; /* 表格宽度 */
}

td {
  border: 1px solid #ababab; /* 设置单线边框 */
  padding: 6px; /* 单元格内边距 */
}

.el-form-item {
  margin-bottom: 0px;
}

:deep(.el-form-item__label) {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  text-align: right;
  height: 36px;
  line-height: 18px;
}

</style>

<!--      <table border="" style="width: 100%; text-align: center; font-size: 14px; margin-bottom: 20px;">-->
<!--        <tr>-->
<!--          <td>章程规定</td>-->
<!--          <td>会议情况</td>-->
<!--          <td colspan="2">换届情况</td>-->
<!--        </tr>-->
<!--        <tr>-->
<!--          <td>-->
<!--            理（董）事会-->
<!--            <el-form-item prop="directorMeetingInterval">-->
<!--              <el-input type="number"  size="default" placeholder="请输入"-->
<!--                        v-model="yearlyMeeting.directorMeetingInterval" />-->
<!--            </el-form-item>-->
<!--            年一届-->
<!--          </td>-->
<!--          <td>-->
<!--            本年度召开理（董）事会-->
<!--            <el-form-item prop="yearlyDirectorMeetingCount">-->
<!--              <el-input type="number"  size="default" placeholder="请输入"-->
<!--                        v-model="yearlyMeeting.yearlyDirectorMeetingCount" />-->
<!--            </el-form-item>-->
<!--            次-->
<!--          </td>-->
<!--          <td>-->
<!--            上一次换届理（董）事会召开时间-->
<!--          </td>-->
<!--          <td>-->
<!--            <el-form-item prop="recentlyChangeTenureTime">-->
<!--              <el-date-picker-->
<!--                v-model="yearlyMeeting.recentlyChangeTenureTime"-->
<!--                type="date"-->
<!--                value-format="YYYY-MM-DD"-->
<!--                placeholder="选择日期">-->
<!--              </el-date-picker>-->
<!--            </el-form-item>-->
<!--          </td>-->
<!--        </tr>-->
<!--        <tr>-->
<!--          <td>-->
<!--            理（董）事会-->
<!--            <el-form-item prop="executiveDirectorMeetingInterval">-->
<!--              <el-input type="number"  size="default" placeholder="请输入"-->
<!--                        v-model="yearlyMeeting.executiveDirectorMeetingInterval" />-->
<!--            </el-form-item>-->
<!--            年-->
<!--            <el-form-item prop="executiveDirectorMeetingOrder">-->
<!--              <el-input type="number"  size="default" placeholder="请输入"-->
<!--                        v-model="yearlyMeeting.executiveDirectorMeetingOrder" />-->
<!--            </el-form-item>-->
<!--            次-->
<!--          </td>-->
<!--          <td colspan="3">-->
<!--            监事（会）是否列席理（董）事会-->
<!--            <el-form-item prop="supervisorAttendance">-->
<!--              <el-radio-group v-model="yearlyMeeting.supervisorAttendance">-->
<!--                <el-radio label="1">是</el-radio>-->
<!--                <el-radio label="2">否</el-radio>-->
<!--              </el-radio-group>-->
<!--            </el-form-item>-->
<!--          </td>-->
<!--        </tr>-->
<!--        <tr>-->
<!--          <td>-->
<!--            未按期召开原因或者未按期换届说明-->
<!--          </td>-->
<!--          <td colspan="3">-->
<!--            <el-form-item prop="failureDirectorMeeting">-->
<!--              <el-input  size="default" placeholder="请输入" v-model="yearlyMeeting.failureDirectorMeeting" />-->
<!--            </el-form-item>-->
<!--          </td>-->
<!--        </tr>-->
<!--      </table>-->
